package org.bigk.invoices.services;

import java.util.List;

import org.bigk.invoices.exceptions.ServiceException;
import org.bigk.invoices.model.Purchaser;
import org.bigk.invoices.model.PurchaserFilter;

public interface PurchasersService {

	public List<Purchaser> listAllItems() throws ServiceException;

	public List<Purchaser> listItems4Page(PurchaserFilter purchaser) throws ServiceException;

	public Purchaser getPurchaser(Long id) throws ServiceException;
	
	public void savePurchaser(Purchaser purchaser) throws ServiceException;
	
	public void updatePurchaser(Purchaser purchaser) throws ServiceException;
	
	public void deletePurchaser(Purchaser purchaser) throws ServiceException;
}
